package org.tech4j.captcha.graphical.model;

import org.tech4j.captcha.api.model.CaptchaEntity;

import java.util.function.Supplier;

/**
 * @program: tech4j
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/4 20:36
 **/
public class VerifyCaptchaEntity implements CaptchaEntity {
    private String key;

    private String storeType;

    public void setKey(String key) {
        this.key = key;
    }

    public void setStoreType(String storeType) {
        this.storeType = storeType;
    }

    @Override
    public String getKey() {
        return key;
    }

    @Override
    public String getStoreType() {
        return storeType;
    }

    @Override
    public Long getExpireAt() {
        return 0L;
    }

    @Override
    public <T> Supplier<T> getCaptcha() {
        return () -> null;
    }
}
